/** 登录页面样式 */
* {
    padding: 0;
    margin: 0;
}
body {
    background-image: url("../images/bg_login.png");
    background-repeat:no-repeat;
    background-size:cover;
    background-color: #f0f2f5;
    background-position: right;
}

.login-wrapper, body, html {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.login-wrapper {
    overflow: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.login-body {
    padding: 10px 10px 40px 10px;
    position: relative;
}
.login-body > .layui-card {
    position: absolute;
    right: 5%;
    top: -150%;
    min-width: 20%;
}
.layui-card {
    margin-bottom: 15px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 #FFFFFF!important;
}
.login-body .layui-card-header {
    font-weight: 700;
    font-size: 15px;
}
.layui-card-header {
    position: relative;
    height: 42px;
    line-height: 42px;
    padding: 0 15px;
    border-bottom: 1px solid #FFFFFF!important;
    color: #333;
    border-radius: 2px 2px 0 0;
    font-size: 14px;
}
.login-body .layui-form-pane .layui-form-label {
    width: 78px;
}

.login-body .layui-form-pane .layui-input-block {
    margin-left: 78px;
}

.login-body .login-captcha {
    width: 100%;
    cursor: pointer;
}

.login-body .login-other > * {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    font-size: 14px;
}

.login-body .login-other .layui-icon {
    position: relative;
    top: 2px;
    font-size: 26px;
}

.login-body .login-other a:hover {
    opacity: .8;
}

.layui-icon-login-qq {
    color: #3492ED
}

.layui-icon-login-wechat {
    color: #4DAF29
}

.layui-icon-login-weibo {
    color: #CF1900
}

/** 底部样式 */
.login-footer {
    text-align: center;
    line-height: 30px;
    color: rgba(255, 255, 255, 0.7) !important;
    padding-bottom: 20px;
}

.login-footer span {
    padding: 0 5px
}

.login-footer a {
    padding: 0 5px;
    color: rgba(255, 255, 255, 0.7) !important;
}

.login-footer a:hover {
    color: rgba(255, 255, 255, 0.4) !important;
}
.layui-btn {
    display: inline-block;
    height: 38px;
    line-height: 38px;
    padding: 0 18px;
    background-color: #00bdd4;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}
.layui-form-radio>i:hover, .layui-form-radioed>i {
    color: #00bdd4;
}


/** 头部样式 */
.login-header {
    font-family: Myriad Pro, Helvetica Neue, Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 10px;
}

.login-header img {
    height: 35px;
}
.ewm{
    width: 20%;
    height: 20%
}
/** 移动设备样式 */

@media only screen and (min-width: 320px){
    body{
        background-image: url("../images/bg_login4.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card {
        position: absolute;
        right: 5%;
        top: 200%;
        min-width: 20%;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .ewm{
        display: none;
    }
    .login-header {
        display: none;
    }
}

@media only screen and (min-width: 352px){
    body{
        background-image: url("../images/bg_login4.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card{
        margin-top: 280px;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .login-header {
        display: none;
    }
}

@media only screen and (min-width: 360px){
    body{
        background-image: url("../images/bg_login4.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card {
        position: absolute;
        right: 5%;
        top: -60%;
        min-width: 20%;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .login-header {
        display: none;
    }
}

@media only screen and (min-width: 368px){
    body{
        background-image: url("../images/bg_login4.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card {
        position: absolute;
        right: 5%;
        top: 250%;
        min-width: 20%;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .login-header {
        display: none;
    }
}

@media only screen and (min-width: 397px) and (max-width: 371px){
    body{
        background-image: url("../images/bg_login4.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card {
        position: absolute;
        right: 5%;
        top: 50%;
        min-width: 20%;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .login-header {
        display: none;
    }
}


@media only screen and (min-width: 411px){
    body{
        background-image: url("../images/bg_login4.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card {
        position: absolute;
        right: 10%;
        top: 250%;
        min-width: 20%;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .login-header {
        display: none;
    }
}

@media only screen and (max-width: 414px){
    body{
        background-image: url("../images/bg_login4.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card {
        position: absolute;
        right: 10%;
        top: 130%;
        min-width: 20%;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .login-header {
        display: none;
    }
}

@media only screen and (min-width: 1024px){
    body{
        background-image: url("../images/bg_login.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }

    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .login-header {
        display: block;
    }
}

@media only screen and (min-height: 900px){
    body{
        background-image: url("../images/bg_login.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card {
        position: absolute;
        right: 5%;
        top: 100%;
        min-width: 20%;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .ewm{
        display: block;
    }
    .login-header {
        display: block;
    }
}

@media only screen and (min-height: 778px){
    body{
        background-image: url("../images/bg_login4.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card {
        position: absolute;
        right: 5%;
        top: 220%;
        min-width: 20%;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .login-header {
        display: none;
    }
}


@media only screen and (min-height: 790px){
    body{
        background-image: url("../images/bg_login.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card {
        position: absolute;
        right: 30%;
        top: 500%;
        min-width: 20%;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .login-header {
        display: block;
    }
}

@media only screen and (min-width: 372px){
    body{
        background-image: url("../images/bg_login.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card {
        position: absolute;
        right: 5%;
        top: 90%;
        min-width: 20%;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .login-header {
        display: none;
    }
}


@media only screen and (min-height: 768px) and (max-height: 900px){
    body{
        background-image: url("../images/bg_login4.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card {
        position: absolute;
        right: 5%;
        top: 200%;
        min-width: 20%;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .login-header {
        display: none;
    }
}

@media only screen and (min-height: 1024px){
    body{
        background-image: url("../images/bg_login4.png");
        background-repeat:no-repeat;
        background-size:cover;
        background-size: 100% 100%;
    }
    .login-body > .layui-card {
        position: absolute;
        right: 28%;
        top: 476%;
        min-width: 20%;
    }
    .layui-card-body{
        position: relative;
        padding: 0px 35px;
        line-height: 0px;
    }
    .login-header {
        display: none;
    }
}

/** 辅助样式 */
.layui-link {
    color: #00bdd4 !important;
}

.layui-link:hover {
    opacity: .8;
}

.pull-right {
    float: right;
}

.inline-block {
    display: inline-block;
}
